package com.xr.miniprogram.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xr.miniprogram.domain.MiniProgramService;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface MiniProgramServiceMapper extends BaseMapper<MiniProgramService> {
    /**
     * 根据服务id 查询服务下单次数
     * @param serviceId
     * @return
     */
    Long countServiceOrder(Long serviceId);
}
